de.cebis.moccapart.calendar.domain
Class Calendar

java.lang.Object
  extended by de.cebis.moccabox.domain.AbstractConceptualObject
      extended by de.cebis.moccapart.calendar.domain.Calendar
All Implemented Interfaces:
IPersistentConcept, java.io.Serializable

public class Calendar
extends AbstractConceptualObject
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int CALENDAR_ADMIN
          The right to administrate the calendar.
static int CALENDAR_READ
          The right to read the calendarīs events.
static int CALENDAR_WRITE
          The right to create new events for the calendar.
static java.lang.String PROP_EDITABLE
           
static java.lang.String PROP_NAME
           
 
Fields inherited from interface de.cebis.moccabox.domain.IPersistentConcept
PROP_CREATION_DATE, PROP_ID, PROP_LAST_EDIT_DATE, PROP_LAST_EDIT_USER
 
Constructor Summary
Calendar()
           
Calendar(java.lang.Long _iD)
          Constructor for primary key
 
Method Summary
 java.lang.String getName()
          Returns the name of the Calendar object.
 boolean isEditable()
          Returns if the Calendar is editable for the current user.
 void setEditable(boolean editable)
           
 void setName(java.lang.String name)
          Sets the name of the Calendar object.
 
Methods inherited from class de.cebis.moccabox.domain.AbstractConceptualObject
getCreationDate, getId, getLastEditDate, getVersion, setCreationDate, setId, setLastEditDate, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_NAME

public static java.lang.String PROP_NAME

PROP_EDITABLE

public static java.lang.String PROP_EDITABLE

CALENDAR_READ

public static final int CALENDAR_READ
The right to read the calendarīs events.

See Also:
Constant Field Values

CALENDAR_WRITE

public static final int CALENDAR_WRITE
The right to create new events for the calendar.

See Also:
Constant Field Values

CALENDAR_ADMIN

public static final int CALENDAR_ADMIN
The right to administrate the calendar.

See Also:
Constant Field Values
Constructor Detail

Calendar

public Calendar()

Calendar

public Calendar(java.lang.Long _iD)
Constructor for primary key

Method Detail

getName

public java.lang.String getName()
Returns the name of the Calendar object.

Returns:
Name for the object.

setName

public void setName(java.lang.String name)
Sets the name of the Calendar object.

Parameters:
name - Name for the object.

isEditable

public boolean isEditable()
Returns if the Calendar is editable for the current user.

Returns:
True, if the entry is editable. False, otherwise.

setEditable

public void setEditable(boolean editable)